package org.jeecg.modules.ParameterModule.util;

import org.jeecg.modules.ParameterModule.entity.SmalltemplateTestInfo;
import org.jeecg.modules.ParameterModule.service.CategoryInfoService;
import org.jeecg.modules.ParameterModule.service.TestPlateInfoService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public class ParametersDeal {
    @Autowired
    private TestPlateInfoService parameterService;//测试版号区
    @Autowired
    private CategoryInfoService test_parameterService;//测试区

    /**
     * 定制项处理
     * */
    public void change_dingzhi(String category_id,String plate_id){
        //根据品类id查询定制项
        List<SmalltemplateTestInfo> dingzhilist = parameterService.query_dingzhiBycategoryId(category_id);
        //根据版号id查询定制项
        List<SmalltemplateTestInfo> test_dingzhilist = test_parameterService.query_dingzhiBycategoryId(plate_id);

        //品类里面的定制项覆盖掉版号
        //做3件事()
        //



    }
}
